package cn.xshi.common.entity;

import cn.xshi.common.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
/**
 * @Desc DbEntity
 * @Author 邓纯杰
 * @CreateTime 2012-12-12 12:12:12
 */
@Data
@ApiModel(value="DB实体对象", description="DB实体")
public class DbEntity extends BaseEntity {

    @ApiModelProperty(value = "id")
    private String id;/**id**/

    @ApiModelProperty(value = "备份的数据库名称")
    private String name;/**备份的数据库名称**/

    @ApiModelProperty(value = "备份路径")
    private String path;/**备份路径**/

    @ApiModelProperty(value = "类型：0表示整库备份1按指定表备份")
    private int type;/**0表示整库备份1按指定表备份**/

}
